package com.hsy.crm.web.domain.entity;

import com.hsy.crm.web.domain.cm.Validate;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 利润表
 */
@Table(name = "t_profit_report")
public class ProfitReport extends BaseEntity{

    /**
     * 单据日期
     */
    @Validate
    @Column(length = 19)
    private Long date;

    /**
     * 单据编号
     */
    @Validate
    @Column(length = 20)
    private Long orderId;

    /**
     * 单据类型
     */
    @Validate
    @Column(length = 11)
    private Integer orderType;

    /**
     * 公司id
     */
    @Validate
    @Column(length = 19)
    private Long companyId;

    /**
     * 客户id
     */
    @Validate
    @Column(length = 19)
    private Long comCustomerId;

    public Long getDate() {
        return date;
    }

    public void setDate(Long date) {
        this.date = date;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getComCustomerId() {
        return comCustomerId;
    }

    public void setComCustomerId(Long comCustomerId) {
        this.comCustomerId = comCustomerId;
    }
}
